package com.zhmsky.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author zhmsky
 * @date 2021/12/9 16:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("in_stock")
public class InStock {
    private Long id;
    private String inNum;
    private Integer type;
    private String operator;
    private Integer productNumber;
    private Long supplierId;
    private String remark;
    private Integer status;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @Version
    private Integer version;
}
